package com.xiaoshuidi.cloud.module.rooms.controller.admin.floor.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "增加楼层请求对象")
public class AddFloorReqVo {

    @Schema(description = "公寓id")
    @NotNull(message = "公寓不能为空")
    private Long apartment;

    @Schema(description = "是否集中式")
    @NotNull(message = "是否集中式不能为空")
    private Boolean isConcentrated;

    @Schema(description = "第几层")
    @NotNull(message = "第几层不能为空")
    private Integer num;

    @Schema(description = "房间数量")
    @NotNull(message = "房间数量不能为空")
    private Integer floorRoomNum;

}
